﻿<%@ Page Language="C#" MasterPageFile="~/design/MasterPage.master" AutoEventWireup="true" CodeFile="QueryItems.aspx.cs" Inherits="QueryItems" Title="QueryItems" %>

<%@ Import Namespace="Artisteer" %>
<%@ Register TagPrefix="artisteer" Namespace="Artisteer" %>
<%@ Register TagPrefix="art" TagName="Menu" Src="Menu.ascx" %> 
<%@ Register TagPrefix="art" TagName="DefaultHeader" Src="DefaultHeader.ascx" %> 
<%@ Register TagPrefix="art" TagName="DefaultSidebar" Src="DefaultSidebar.ascx" %>


    
<asp:Content ID="PageTitle" ContentPlaceHolderID="TitleContentPlaceHolder" Runat="Server">
    Home
</asp:Content>

<asp:Content ID="MenuContent" ContentPlaceHolderID="MenuContentPlaceHolder" Runat="Server">
    <art:Menu ID="Menu" runat="server" />
</asp:Content>

<asp:Content ID="SheetContent" ContentPlaceHolderID="SheetContentPlaceHolder" Runat="Server">

<artisteer:Article ID="Article1" Caption="聚焦搜索" runat="server"><ContentTemplate>
</ContentTemplate></artisteer:Article>


                  <label style="color: #FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;查询条</label>
                <asp:DropDownList ID="ddlCondition" runat="server" Width="96px" >
                    <asp:ListItem>ID</asp:ListItem>
                    <asp:ListItem>商品名称</asp:ListItem>
                    <asp:ListItem>价格</asp:ListItem>
                    <asp:ListItem>描述</asp:ListItem>
                    <asp:ListItem>XXX</asp:ListItem>                   
                    <asp:ListItem>XXX</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="txtCondition" runat="server" Width="137px"></asp:TextBox>
                          </label></td>
                          <td style="width: 183px"><label>
                            <asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查询" />
                          </label></td> 
    <p></p>
    <hr style="width: 716px; margin-left: 40px">
    
 
    <div style="margin-left: 60px; margin-bottom: 20px;" align="center">
    </br>

   <asp:GridView ID="gvDbItemInfo" runat="server" AllowPaging="True"  style="word-break: break-all; work-wrap: break-word;overflow：hidden" 
        CellPadding="4" ForeColor="#333333" PageSize="20" AutoGenerateColumns="False" 
        Font-Size="9pt" OnPageIndexChanging="gvDbItemInfo_PageIndexChanging" 
        OnRowDeleting="gvDbItemInfo_RowDeleting" Width="670px" 
            HorizontalAlign="Center" BorderColor="DarkSeaGreen" BorderStyle="Solid">
                    <HeaderStyle BackColor="#9E9E9E" Font-Bold="False" ForeColor="#FFFFFF" />
                    <Columns> 
                            <asp:TemplateField HeaderText="商品图片"> 
                                <ItemStyle HorizontalAlign="Center" Width="10%" />                          
                                <ItemTemplate>
                                </ItemTemplate>
                            </asp:TemplateField>
                        <asp:BoundField DataField="Name" HeaderText="商品名称" ReadOnly="True" ControlStyle-Width="50"  ><ControlStyle Width="50px"></ControlStyle></asp:BoundField>
                        <asp:BoundField DataField="Price" HeaderText="价格" />
                        <asp:BoundField DataField="Attri" HeaderText="商品描述" />                 
                        <asp:HyperLinkField DataNavigateUrlFormatString="seqsShowGter.aspx?gterid={0}" HeaderText="详情"
                            Text="详情" DataNavigateUrlFields="" >
                        </asp:HyperLinkField>
                    </Columns>
     </asp:GridView>
     </div>
</asp:Content>
<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ScriptIncludePlaceHolder">

  <script type="text/javascript" src="<%= ResolveUrl("~/script.js") %>"></script>
    

</asp:Content>
